home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / programming / libraries / bgui10.lha / docs / infoclass.doc < prev    next >
Encoding:
Text File  |  1994-07-05  |  3.6 KB  |  124 lines

  1.  
  2.            $RCSfile: infoclass.doc,v $
  3.         Description: Infoclass documentation.
  4.           Copyright: (C) Copyright 1994 Jaba Development.
  5.                      (C) Copyright 1994 Jan van den Baard.
  6.                      All Rights Reserved.
  7.  
  8.             $Author: jaba $
  9.           $Revision: 1.1 $
  10.               $Date: 1994/07/04 21:05:30 $
  11. ------------------------------------------------------------------------------
  12.  
  13. TABLE OF CONTENTS
  14.  
  15. infoclass/--background--
  16. infoclass/Methods
  17. infoclass/Attributes
  18.  
  19. infoclass/--background--                              infoclass/--background--
  20.  
  21.     NAME
  22.         Class:          infoclass
  23.         Superclass:     baseclass
  24.         Include File:   <libraries/bgui.h>
  25.  
  26.     FUNCTION
  27.         To  provide  a  general  multi-line  text gadget which can be used for
  28.         on-line  help  or  general information purposes. It has the ability to
  29.         handle  different  text  style,  colors  and text justifications. Also
  30.         C-style formatting codes are allowed.
  31.  
  32.         A  good  example  of  the  usage  of this class is the BGUI_RequestA()
  33.         routine.  This  routine  uses  an infoclass object to display the body
  34.         text.
  35.  
  36.         This gadget does not send out notification events.
  37.  
  38. infoclass/Methods                                            infoclass/Methods
  39.  
  40.     NEW METHODS
  41.         None.
  42.  
  43.     CHANGED METHODS
  44.         None.
  45.  
  46. infoclass/Attributes                                      infoclass/Attributes
  47.  
  48.     NAME
  49.         INFO_TextFormat -- ( STRPTR )
  50.  
  51.     FUNCTION
  52.         Set  the  textual  contents  of the gadget object. You can use C-style
  53.         formatting  codes in the text and in addition to that you may also use
  54.         any of the following command sequences:
  55.  
  56.         \33b    - Bold text.
  57.         \33i    - Italics text.
  58.         \33u    - Underlined text.
  59.         \33n    - Normal text.
  60.         \33c    - Center this and the following lines.
  61.         \33l    - Left-justify this and the following lines.
  62.         \33r    - Right-justify this and the following lines.
  63.         \33d<n> - Set drawinfo pen <n>.
  64.         \33p<n> - Set pen <n>.
  65.         \n      - Start a new line of text.
  66.  
  67.         Please note the the \33c, \33l and \33r command sequences  can only be
  68.         used at the beginning of a new line.
  69.  
  70.         Default is NULL. Applicability is (ISU).
  71.  
  72.     SEE ALSO
  73.         <intuition/screens.h>, exec.library/RawDoFmt(), INFO_Args
  74.  
  75.     NAME
  76.         INFO_Args -- ( ULONG * )
  77.  
  78.     FUNCTION
  79.         Set  the arguments accoording to the C-style formatting codes found in
  80.         the text.
  81.  
  82.         Default is NULL. Applicability is (ISU).
  83.  
  84.     SEE ALSO
  85.         exec.library/RawDoFmt(), INFO_TextFormat
  86.  
  87.     NAME
  88.         INFO_MinLines -- ( ULONG )
  89.  
  90.     FUNCTION
  91.         Set  the  minimum  number  of  lines  the object should display at all
  92.         times.  This  is  taken into consideration when to object it's minimum
  93.         size is calculated.
  94.  
  95.         Default is 1. Applicability is (I).
  96.  
  97.     SEE ALSO
  98.         INFO_FixTextWidth
  99.  
  100.     NAME
  101.         INFO_FixTextWidth -- ( BOOL )
  102.  
  103.     FUNCTION
  104.         To tell the object that it's minimum width may not be smaller than the
  105.         width  of  the  longest  line  in the text plus the offsets and border
  106.         thickness.
  107.  
  108.         Default is FALSE. Applicability is (I).
  109.  
  110.     SEE ALSO
  111.         INFO_HorizOffset, INFO_VertOffset, INFO_MinLines
  112.  
  113.     NAME
  114.         INFO_HorizOffset, INFO_VertOffset -- ( ULONG )
  115.  
  116.     FUNCTION
  117.         Set  the  horizontal  and  vertical  offset from the object borders at
  118.         which the text is rendered.
  119.  
  120.         Defaults are 6 horizontally and 4 vertically. Applicability is (I).
  121.  
  122.     SEE ALSO
  123.         INFO_FixTextWidth
  124.